<!DOCTYPE html>
<html>
{$headHtml}
<body>
{$head_navlist}
<!-- banner -->
<div class="banner">
    <div class="swiper-wrapper">
        <yang:abc id="$headInfo[banner_select_id]" limit="4">
            <div class="swiper-slide"><a href="javascript:void(0)"><img src="{$abc[content]}" alt="" /></a></div>
        </yang:abc>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>
</div>
<section class="content">
    <div class="box brand_content clear">
        <div class="location">
            <a href="">当前位置</a>-<a href="{:U('Post/index?catalogId='.$headInfo[id])}">{$headInfo[name]}</a>- <a href="{:U('Post/index?catalogId='.$catalogSelect[id])}">{$catalogSelect[name]}</a>
        </div>
        <header class="brand_title">
            <h1>{$catalogSelect[name]}</h1>
        </header>
        <ul class="brand_img_list">
            <?php $i=0; ?>
            <yang:navlist typeid="$catalogSelect[id]">
                <li class="clear <?=$i==0?'':'box'?>">
                    <div class="brand_img_list_side brand_img_list_left">
                        <div>
                            <img src="{$navlist.catpic}" alt="" />
                        </div>
                        <button type="button"><a style="color: #fff;" href="<?=$navlist[brand_url]?>" target="view_window">点击进入品牌官网</a></button>
                    </div>
                    <?php $imgs = array(); ?>
                    <yang:piclist typeid="$navlist[id]" flag="c">
                        <?php foreach($piclist[pictureurls] as $key => $data):?>
                            <?php array_push($imgs,$data[url]) ?>
                        <?php endforeach; ?>
                    </yang:piclist>
                    <div class="brand_img_list_mid">
                        <?php foreach($imgs as $key => $data):?>
                            <?php if($key<3): ?>
                                <div class="brand_img_list_mid_<?=$key+1?>">
                                    <img src="<?=$data?>" alt="" />
                                </div>
                            <?php endif; ?>
                        <?php endforeach; ?>
                    </div>
                    <div class="brand_img_list_side brand_img_list_right">
                        <?php foreach($imgs as $key => $data):?>
                            <?php if($key==3): ?>
                                    <img src="<?=$data?>" alt="" />
                            <?php endif; ?>
                        <?php endforeach; ?>
                    </div>
                </li>
            </yang:navlist>
        </ul>
    </div>
</section>
{$footHtml}
<script>
    swiperBanner();
</script>
</body>
</html>